package com.zhao.uitest.chat_ui;

/**
 * Created by Zhao on 2016/2/22.
 * 消息类
 * 两种类型 回复消息 和 发送消息
 */
public class Msg {
    public static final int TYPE_RECEIVED = 0;
    public static final int TYPE_SENT = 1;

    private String content;
    private int type;

    public Msg(String content, int type) {
        this.content = content;
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public int getType() {
        return type;
    }
}
